<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@page contentType="application/json" %>

{
"success": 1,

"result": [
        <c:forEach items="${arquivos}" var="arquivo" varStatus="status">
            {                
                "id":"${arquivo.id}",
                "nome":"${arquivo.nome}",                
                "data_criacao":"${arquivo.dataCriacao}"
            }
            <c:if test="${not status.last}">,</c:if>
        </c:forEach>
        ]
}